package com.wsoft.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.wsoft.core.service.CodeRuleService;
import com.wsoft.utils.CodeRulesUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author z001
 * @Date 2025/2/21 08:42
 */
@Service
public class CodeRuleServiceImpl implements CodeRuleService {

    @Resource
    private CodeRulesUtil codeRulesUtil;

    @Override
    public Object initCode(String code, JSONObject objectJson, Integer isUsed) {
        return codeRulesUtil.initCode(code,objectJson,isUsed);
    }
}
